
<%@ page import="hc.uco.Evolucao" %>
<html>
    <head>
        <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
        <meta name="layout" content="main" />
        <g:set var="entityName" value="${message(code: 'evolucao.label', default: 'Evolucao')}" />
        <title><g:message code="default.show.label" args="[entityName]" /></title>
    </head>
    <body>
        <div class="nav">
            <span class="menuButton"><a class="home" href="${createLink(uri: '/')}"><g:message code="default.home.label"/></a></span>
            <span class="menuButton"><g:link class="list" action="list"><g:message code="default.list.label" args="[entityName]" /></g:link></span>
            <span class="menuButton"><g:link class="create" action="create"><g:message code="default.new.label" args="[entityName]" /></g:link></span>
        </div>
        <div class="body">
            <h1><g:message code="default.show.label" args="[entityName]" /></h1>
            <g:if test="${flash.message}">
            <div class="message">${flash.message}</div>
            </g:if>
            <div class="dialog">
                <table>
                    <tbody>
                    
                        <tr class="prop">
                            <td valign="top" class="name"><g:message code="evolucao.id.label" default="Id" /></td>
                            
                            <td valign="top" class="value">${fieldValue(bean: evolucaoInstance, field: "id")}</td>
                            
                        </tr>
                    
                        <tr class="prop">
                            <td valign="top" class="name"><g:message code="evolucao.avch.label" default="Avch" /></td>
                            
                            <td valign="top" class="value"><g:formatBoolean boolean="${evolucaoInstance?.avch}" /></td>
                            
                        </tr>
                    
                        <tr class="prop">
                            <td valign="top" class="name"><g:message code="evolucao.ch.label" default="Ch" /></td>
                            
                            <td valign="top" class="value">${fieldValue(bean: evolucaoInstance, field: "ch")}</td>
                            
                        </tr>
                    
                        <tr class="prop">
                            <td valign="top" class="name"><g:message code="evolucao.clcr.label" default="Clcr" /></td>
                            
                            <td valign="top" class="value">${fieldValue(bean: evolucaoInstance, field: "clcr")}</td>
                            
                        </tr>
                    
                        <tr class="prop">
                            <td valign="top" class="name"><g:message code="evolucao.colesterolT.label" default="Colesterol T" /></td>
                            
                            <td valign="top" class="value">${fieldValue(bean: evolucaoInstance, field: "colesterolT")}</td>
                            
                        </tr>
                    
                        <tr class="prop">
                            <td valign="top" class="name"><g:message code="evolucao.createdBy.label" default="Created By" /></td>
                            
                            <td valign="top" class="value"><g:link controller="usuario" action="show" id="${evolucaoInstance?.createdBy?.id}">${evolucaoInstance?.createdBy?.encodeAsHTML()}</g:link></td>
                            
                        </tr>
                    
                        <tr class="prop">
                            <td valign="top" class="name"><g:message code="evolucao.creatinina.label" default="Creatinina" /></td>
                            
                            <td valign="top" class="value">${fieldValue(bean: evolucaoInstance, field: "creatinina")}</td>
                            
                        </tr>
                    
                        <tr class="prop">
                            <td valign="top" class="name"><g:message code="evolucao.dateCreated.label" default="Date Created" /></td>
                            
                            <td valign="top" class="value"><g:formatDate date="${evolucaoInstance?.dateCreated}" /></td>
                            
                        </tr>
                    
                        <tr class="prop">
                            <td valign="top" class="name"><g:message code="evolucao.deltaHb.label" default="Delta Hb" /></td>
                            
                            <td valign="top" class="value">${fieldValue(bean: evolucaoInstance, field: "deltaHb")}</td>
                            
                        </tr>
                    
                        <tr class="prop">
                            <td valign="top" class="name"><g:message code="evolucao.diaData.label" default="Dia Data" /></td>
                            
                            <td valign="top" class="value"><g:formatDate date="${evolucaoInstance?.diaData}" /></td>
                            
                        </tr>
                    
                        <tr class="prop">
                            <td valign="top" class="name"><g:message code="evolucao.diaNumero.label" default="Dia Numero" /></td>
                            
                            <td valign="top" class="value">${fieldValue(bean: evolucaoInstance, field: "diaNumero")}</td>
                            
                        </tr>
                    
                        <tr class="prop">
                            <td valign="top" class="name"><g:message code="evolucao.glicemia.label" default="Glicemia" /></td>
                            
                            <td valign="top" class="value">${fieldValue(bean: evolucaoInstance, field: "glicemia")}</td>
                            
                        </tr>
                    
                        <tr class="prop">
                            <td valign="top" class="name"><g:message code="evolucao.hb.label" default="Hb" /></td>
                            
                            <td valign="top" class="value">${fieldValue(bean: evolucaoInstance, field: "hb")}</td>
                            
                        </tr>
                    
                        <tr class="prop">
                            <td valign="top" class="name"><g:message code="evolucao.hbGli.label" default="Hb Gli" /></td>
                            
                            <td valign="top" class="value">${fieldValue(bean: evolucaoInstance, field: "hbGli")}</td>
                            
                        </tr>
                    
                        <tr class="prop">
                            <td valign="top" class="name"><g:message code="evolucao.hdl.label" default="Hdl" /></td>
                            
                            <td valign="top" class="value">${fieldValue(bean: evolucaoInstance, field: "hdl")}</td>
                            
                        </tr>
                    
                        <tr class="prop">
                            <td valign="top" class="name"><g:message code="evolucao.ht.label" default="Ht" /></td>
                            
                            <td valign="top" class="value">${fieldValue(bean: evolucaoInstance, field: "ht")}</td>
                            
                        </tr>
                    
                        <tr class="prop">
                            <td valign="top" class="name"><g:message code="evolucao.lastUpdated.label" default="Last Updated" /></td>
                            
                            <td valign="top" class="value"><g:formatDate date="${evolucaoInstance?.lastUpdated}" /></td>
                            
                        </tr>
                    
                        <tr class="prop">
                            <td valign="top" class="name"><g:message code="evolucao.ldl.label" default="Ldl" /></td>
                            
                            <td valign="top" class="value">${fieldValue(bean: evolucaoInstance, field: "ldl")}</td>
                            
                        </tr>
                    
                        <tr class="prop">
                            <td valign="top" class="name"><g:message code="evolucao.medicacao.label" default="Medicacao" /></td>
                            
                            <td valign="top" style="text-align: left;" class="value">
                                <ul>
                                <g:each in="${evolucaoInstance.medicacao}" var="m">
                                    <li><g:link controller="medicacao" action="show" id="${m.id}">${m?.encodeAsHTML()}</g:link></li>
                                </g:each>
                                </ul>
                            </td>
                            
                        </tr>
                    
                        <tr class="prop">
                            <td valign="top" class="name"><g:message code="evolucao.paciente.label" default="Paciente" /></td>
                            
                            <td valign="top" class="value"><g:link controller="paciente" action="show" id="${evolucaoInstance?.paciente?.id}">${evolucaoInstance?.paciente?.encodeAsHTML()}</g:link></td>
                            
                        </tr>
                    
                        <tr class="prop">
                            <td valign="top" class="name"><g:message code="evolucao.pcr01.label" default="Pcr01" /></td>
                            
                            <td valign="top" class="value">${fieldValue(bean: evolucaoInstance, field: "pcr01")}</td>
                            
                        </tr>
                    
                        <tr class="prop">
                            <td valign="top" class="name"><g:message code="evolucao.pcr05.label" default="Pcr05" /></td>
                            
                            <td valign="top" class="value">${fieldValue(bean: evolucaoInstance, field: "pcr05")}</td>
                            
                        </tr>
                    
                        <tr class="prop">
                            <td valign="top" class="name"><g:message code="evolucao.potassio.label" default="Potassio" /></td>
                            
                            <td valign="top" class="value">${fieldValue(bean: evolucaoInstance, field: "potassio")}</td>
                            
                        </tr>
                    
                        <tr class="prop">
                            <td valign="top" class="name"><g:message code="evolucao.r.label" default="R" /></td>
                            
                            <td valign="top" class="value">${fieldValue(bean: evolucaoInstance, field: "r")}</td>
                            
                        </tr>
                    
                        <tr class="prop">
                            <td valign="top" class="name"><g:message code="evolucao.rni.label" default="Rni" /></td>
                            
                            <td valign="top" class="value">${fieldValue(bean: evolucaoInstance, field: "rni")}</td>
                            
                        </tr>
                    
                        <tr class="prop">
                            <td valign="top" class="name"><g:message code="evolucao.sangraDelta.label" default="Sangra Delta" /></td>
                            
                            <td valign="top" class="value">${fieldValue(bean: evolucaoInstance, field: "sangraDelta")}</td>
                            
                        </tr>
                    
                        <tr class="prop">
                            <td valign="top" class="name"><g:message code="evolucao.sangramento.label" default="Sangramento" /></td>
                            
                            <td valign="top" class="value"><g:formatBoolean boolean="${evolucaoInstance?.sangramento}" /></td>
                            
                        </tr>
                    
                        <tr class="prop">
                            <td valign="top" class="name"><g:message code="evolucao.sodio.label" default="Sodio" /></td>
                            
                            <td valign="top" class="value">${fieldValue(bean: evolucaoInstance, field: "sodio")}</td>
                            
                        </tr>
                    
                        <tr class="prop">
                            <td valign="top" class="name"><g:message code="evolucao.transfusao.label" default="Transfusao" /></td>
                            
                            <td valign="top" class="value"><g:formatBoolean boolean="${evolucaoInstance?.transfusao}" /></td>
                            
                        </tr>
                    
                        <tr class="prop">
                            <td valign="top" class="name"><g:message code="evolucao.triglicerides.label" default="Triglicerides" /></td>
                            
                            <td valign="top" class="value">${fieldValue(bean: evolucaoInstance, field: "triglicerides")}</td>
                            
                        </tr>
                    
                        <tr class="prop">
                            <td valign="top" class="name"><g:message code="evolucao.troponinaI01.label" default="Troponina I01" /></td>
                            
                            <td valign="top" class="value">${fieldValue(bean: evolucaoInstance, field: "troponinaI01")}</td>
                            
                        </tr>
                    
                        <tr class="prop">
                            <td valign="top" class="name"><g:message code="evolucao.troponinaI02.label" default="Troponina I02" /></td>
                            
                            <td valign="top" class="value">${fieldValue(bean: evolucaoInstance, field: "troponinaI02")}</td>
                            
                        </tr>
                    
                        <tr class="prop">
                            <td valign="top" class="name"><g:message code="evolucao.updatedBy.label" default="Updated By" /></td>
                            
                            <td valign="top" class="value"><g:link controller="usuario" action="show" id="${evolucaoInstance?.updatedBy?.id}">${evolucaoInstance?.updatedBy?.encodeAsHTML()}</g:link></td>
                            
                        </tr>
                    
                        <tr class="prop">
                            <td valign="top" class="name"><g:message code="evolucao.ureia.label" default="Ureia" /></td>
                            
                            <td valign="top" class="value">${fieldValue(bean: evolucaoInstance, field: "ureia")}</td>
                            
                        </tr>
                    
                        <tr class="prop">
                            <td valign="top" class="name"><g:message code="evolucao.vldl.label" default="Vldl" /></td>
                            
                            <td valign="top" class="value">${fieldValue(bean: evolucaoInstance, field: "vldl")}</td>
                            
                        </tr>
                    
                    </tbody>
                </table>
            </div>
            <div class="buttons">
                <g:form>
                    <g:hiddenField name="id" value="${evolucaoInstance?.id}" />
                    <span class="button"><g:actionSubmit class="edit" action="edit" value="${message(code: 'default.button.edit.label', default: 'Edit')}" /></span>
                    <span class="button"><g:actionSubmit class="delete" action="delete" value="${message(code: 'default.button.delete.label', default: 'Delete')}" onclick="return confirm('${message(code: 'default.button.delete.confirm.message', default: 'Are you sure?')}');" /></span>
                </g:form>
            </div>
        </div>
    </body>
</html>
